<?php

/**
 * @author 订阅号 后台
 */
namespace bc\controller;

use yii;

class SubscriptionController extends BaseController
{
	const PAGE_SIZE = 15;
	
	public $enableCsrfValidation = false;
	
	public $layout = 'main';
	
	public function nolayout()
	{
		$this->layout = false;
	}
	
	public function beforeAction($action)
	{
		$aciontName = $action->id; // action name
		$controllerName = $action->controller->id; // controller name
		return parent::beforeAction ( $action );
	}
}